FolderCount

Syntax:

FolderCount(Str)

Description:
Returns the number of subfolders found in the specified folder.

Parameter Description

Str  A text string containing the folder that should be scanned for number of subfolders.

Example:

Sub Main
MsgBox FolderCount("c:\foldername")
End
Sub

See Also:

FileCount

DriveExists

DriveAvailableSpace

FileExists

FolderExists